package com.faiz.picturebed;


import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;


@Slf4j
@SpringBootApplication
public class PictureBedApplication {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(PictureBedApplication.class, args);

//        String[] beanNames = context.getBeanDefinitionNames();
//        //String[] beanNames = ctx.getBeanNamesForAnnotation(RestController.class);//所有添加该注解的bean
//        log.info("*************************************************************");
//        log.info("bean总数:{}", context.getBeanDefinitionCount());
//        int i = 0;
//        for (String str : beanNames) {
//            log.info("{},beanName:{}", ++i, str);
//        }
//        log.info("*************************************************************");

    }

}
